name: tests_tapi run_id: commands[0] env HOME: /home/jenkins env INSTALL_TAPI: **** env LANG: C.UTF-8 env OLM_TIMER1: 3000 env OLM_TIMER2: 2000 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin:/opt/pyenv/bin:/tmp/venv-07cb/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONHASHSEED: 4280107787 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env TOX_ENV_NAME: tests_tapi env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 7686 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin/*:launch_tests.sh cmd: ./launch_tests.sh tapi exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ................................................... [100%] 51 passed in 394.67s (0:06:34) pytest -q transportpce_tests/tapi/test02_full_topology.py .................................... [100%] 36 passed in 338.87s (0:05:38) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py ..........FFF.....FF.....FF...F.FF.....FF...F.FF.....FF.....FFF........ [100%] =================================== FAILURES =================================== _ TestTransportPCEDeviceChangeNotifications.test_11_create_connectivity_service_Ethernet _ self = def test_11_create_connectivity_service_Ethernet(self): response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'create-connectivity-service', self.cr_serv_input_data) time.sleep(self.WAITING) > self.uuid_services.eth = response['output']['service']['uuid'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'service' transportpce_tests/tapi/test03_tapi_device_change_notifications.py:249: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_11_create_connectivity_service_Ethernet ____ TestTransportPCEDeviceChangeNotifications.test_12_get_service_Ethernet ____ self = def test_12_get_service_Ethernet(self): response = test_utils.get_ordm_serv_list_attr_request("services", str(self.uuid_services.eth)) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/tapi/test03_tapi_device_change_notifications.py:277: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_get_service_Ethernet _ TestTransportPCEDeviceChangeNotifications.test_13_get_connectivity_service_Ethernet _ self = def test_13_get_connectivity_service_Ethernet(self): self.tapi_serv_details["uuid"] = str(self.uuid_services.eth) response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'get-connectivity-service-details', self.tapi_serv_details) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test03_tapi_device_change_notifications.py:288: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_get_connectivity_service_Ethernet _ TestTransportPCEDeviceChangeNotifications.test_19_check_update_service_Ethernet _ self = def test_19_check_update_service_Ethernet(self): response = test_utils.get_ordm_serv_list_attr_request("services", str(self.uuid_services.eth)) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/tapi/test03_tapi_device_change_notifications.py:406: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_19_check_update_service_Ethernet _ TestTransportPCEDeviceChangeNotifications.test_20_check_update_connectivity_service_Ethernet _ self = def test_20_check_update_connectivity_service_Ethernet(self): self.tapi_serv_details["uuid"] = str(self.uuid_services.eth) response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'get-connectivity-service-details', self.tapi_serv_details) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test03_tapi_device_change_notifications.py:414: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_20_check_update_connectivity_service_Ethernet __ TestTransportPCEDeviceChangeNotifications.test_26_check_update_service1_ok __ self = def test_26_check_update_service1_ok(self): > self.test_12_get_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:488: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:277: in test_12_get_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_26_check_update_service1_ok _ TestTransportPCEDeviceChangeNotifications.test_27_check_update_connectivity_service_Ethernet_ok _ self = def test_27_check_update_connectivity_service_Ethernet_ok(self): > self.test_13_get_connectivity_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:288: in test_13_get_connectivity_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_27_check_update_connectivity_service_Ethernet_ok ___ TestTransportPCEDeviceChangeNotifications.test_31_check_update_tapi_neps ___ self = def test_31_check_update_tapi_neps(self): self.node_details["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID # self.node_details["node-id"] = "ROADM-A1+PHOTONIC_MEDIA" self.node_details["node-id"] = "3b726367-6f2d-3e3f-9033-d99b61459075" response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-node-details', self.node_details) self.assertEqual(response['status_code'], requests.codes.ok) nep_list = response['output']['node']['owned-node-edge-point'] nb_updated_neps = 0 for nep in nep_list: if 'SRG1-PP1-TXRX' in nep['name'][0]['value']: self.assertEqual(nep['operational-state'], 'DISABLED', "Operational State should be 'DISABLED'") self.assertEqual(nep['administrative-state'], 'LOCKED', "Administrative State should be 'LOCKED'") nb_updated_neps += 1 else: self.assertEqual(nep['operational-state'], 'ENABLED', "Operational State should be 'ENABLED'") self.assertEqual(nep['administrative-state'], 'UNLOCKED', "Administrative State should be 'UNLOCKED'") > self.assertEqual(nb_updated_neps, 2, "Only 2 roadm SRG-PP nep (OTS/MC)should have been modified") E AssertionError: 1 != 2 : Only 2 roadm SRG-PP nep (OTS/MC)should have been modified transportpce_tests/tapi/test03_tapi_device_change_notifications.py:581: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_31_check_update_tapi_neps _ TestTransportPCEDeviceChangeNotifications.test_33_check_update_service_Ethernet _ self = def test_33_check_update_service_Ethernet(self): > self.test_19_check_update_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:604: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:406: in test_19_check_update_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_33_check_update_service_Ethernet _ TestTransportPCEDeviceChangeNotifications.test_34_check_update_connectivity_service_Ethernet _ self = def test_34_check_update_connectivity_service_Ethernet(self): > self.test_20_check_update_connectivity_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:414: in test_20_check_update_connectivity_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_34_check_update_connectivity_service_Ethernet __ TestTransportPCEDeviceChangeNotifications.test_40_check_update_service1_ok __ self = def test_40_check_update_service1_ok(self): > self.test_12_get_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:655: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:277: in test_12_get_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_40_check_update_service1_ok _ TestTransportPCEDeviceChangeNotifications.test_41_check_update_connectivity_service_Ethernet_ok _ self = def test_41_check_update_connectivity_service_Ethernet_ok(self): > self.test_13_get_connectivity_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:658: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:288: in test_13_get_connectivity_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_41_check_update_connectivity_service_Ethernet_ok ___ TestTransportPCEDeviceChangeNotifications.test_45_check_update_tapi_neps ___ self = def test_45_check_update_tapi_neps(self): self.node_details["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID # self.node_details["node-id"] = "ROADM-A1+PHOTONIC_MEDIA" self.node_details["node-id"] = "3b726367-6f2d-3e3f-9033-d99b61459075" response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-node-details', self.node_details) self.assertEqual(response['status_code'], requests.codes.ok) nep_list = response['output']['node']['owned-node-edge-point'] nb_updated_neps = 0 for nep in nep_list: if 'DEG2-TTP-TXRX' in nep['name'][0]['value']: self.assertEqual(nep['operational-state'], 'DISABLED', "Operational State should be 'DISABLED'") self.assertEqual(nep['administrative-state'], 'LOCKED', "Administrative State should be 'LOCKED'") nb_updated_neps += 1 else: self.assertEqual(nep['operational-state'], 'ENABLED', "Operational State should be 'ENABLED'") self.assertEqual(nep['administrative-state'], 'UNLOCKED', "Administrative State should be 'UNLOCKED'") > self.assertEqual(nb_updated_neps, 4, "4 roadm NEPS should have been modified (OTS/OMS/MC/OTSI_MC") E AssertionError: 2 != 4 : 4 roadm NEPS should have been modified (OTS/OMS/MC/OTSI_MC transportpce_tests/tapi/test03_tapi_device_change_notifications.py:747: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_45_check_update_tapi_neps _ TestTransportPCEDeviceChangeNotifications.test_47_check_update_service_Ethernet _ self = def test_47_check_update_service_Ethernet(self): > self.test_19_check_update_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:771: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:406: in test_19_check_update_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_47_check_update_service_Ethernet _ TestTransportPCEDeviceChangeNotifications.test_48_check_update_connectivity_service_Ethernet _ self = def test_48_check_update_connectivity_service_Ethernet(self): > self.test_20_check_update_connectivity_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:774: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:414: in test_20_check_update_connectivity_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_48_check_update_connectivity_service_Ethernet __ TestTransportPCEDeviceChangeNotifications.test_54_check_update_service1_ok __ self = def test_54_check_update_service1_ok(self): > self.test_12_get_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:801: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:277: in test_12_get_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_54_check_update_service1_ok _ TestTransportPCEDeviceChangeNotifications.test_55_check_update_connectivity_service_Ethernet_ok _ self = def test_55_check_update_connectivity_service_Ethernet_ok(self): > self.test_13_get_connectivity_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:804: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:288: in test_13_get_connectivity_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_55_check_update_connectivity_service_Ethernet_ok __ TestTransportPCEDeviceChangeNotifications.test_61_check_update_service1_ok __ self = def test_61_check_update_service1_ok(self): > self.test_12_get_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:910: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:277: in test_12_get_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_61_check_update_service1_ok _ TestTransportPCEDeviceChangeNotifications.test_62_check_update_connectivity_service_Ethernet_ok _ self = def test_62_check_update_connectivity_service_Ethernet_ok(self): > self.test_13_get_connectivity_service_Ethernet() transportpce_tests/tapi/test03_tapi_device_change_notifications.py:913: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:288: in test_13_get_connectivity_service_Ethernet self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_62_check_update_connectivity_service_Ethernet_ok _ TestTransportPCEDeviceChangeNotifications.test_63_delete_connectivity_service_Ethernet _ self = def test_63_delete_connectivity_service_Ethernet(self): self.del_serv_input_data["uuid"] = str(self.uuid_services.eth) response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'delete-connectivity-service', self.del_serv_input_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/tapi/test03_tapi_device_change_notifications.py:919: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_63_delete_connectivity_service_Ethernet =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_11_create_connectivity_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_12_get_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_13_get_connectivity_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_19_check_update_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_20_check_update_connectivity_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_26_check_update_service1_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_27_check_update_connectivity_service_Ethernet_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_31_check_update_tapi_neps FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_33_check_update_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_34_check_update_connectivity_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_40_check_update_service1_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_41_check_update_connectivity_service_Ethernet_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_45_check_update_tapi_neps FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_47_check_update_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_48_check_update_connectivity_service_Ethernet FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_54_check_update_service1_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_55_check_update_connectivity_service_Ethernet_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_61_check_update_service1_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_62_check_update_connectivity_service_Ethernet_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_63_delete_connectivity_service_Ethernet 20 failed, 51 passed in 281.97s (0:04:41)